package presentation.redesign;

import javax.swing.JLabel;

public class HzStateLabel extends JLabel {
	
	private static final long serialVersionUID = 6400295336824259160L;
	
	private String constantInfo = "";
	
	public void showActiveInfo(String info) {
		setText(info);
		setVisible(true);
	}
	
	public void clearActiveInfo() {
		setText(constantInfo);
		setVisible(true);
	}
	
	public void showConstantInfo(String info) {
		constantInfo = info;
		setText(constantInfo);
		setVisible(true);
	}
	
	public void clearConstantInfo() {
		constantInfo = "";
		setText("");
		setVisible(true);
	}

}
